package com.shop.shoppingmall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (ShBanner)实体类
 *
 * @author makejava
 * @since 2020-09-10 09:18:21
 */
public class ShBanner implements Serializable {
    private static final long serialVersionUID = -42333318700470771L;
    /**
     * 主键
     */
    private String id;
    /**
     * 名称
     */
    private String bannerName;
    /**
     * 图片URL
     */
    private String bannerUrl;
    /**
     * 跳转地址id
     */
    private String jumpAdd;
    /**
     * 跳转类型1 跳转商品 2 跳转商户
     */
    private String bannerType;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date creatTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBannerName() {
        return bannerName;
    }

    public void setBannerName(String bannerName) {
        this.bannerName = bannerName;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getJumpAdd() {
        return jumpAdd;
    }

    public void setJumpAdd(String jumpAdd) {
        this.jumpAdd = jumpAdd;
    }

    public String getBannerType() {
        return bannerType;
    }

    public void setBannerType(String bannerType) {
        this.bannerType = bannerType;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}